package cn.gson.springboot.model.mapper;

import cn.gson.springboot.model.pojos.Inventory;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component("InvMapper")
public interface InventoryMapper {
    public List<Inventory> selectInventory(Integer warId,String content);

    public List<Map<String,Object>> computeInventoryCount();

    public List<Map<String,Object>> computeInventorySort();

    public List<Map<String,Object>> computeInventoryFlowCount();

    public List<Map<String,Object>> computeInventoryFlowOperation();

    public List<Map<String,Object>> computeInventoryFlowIntoMonth();
}
